package com.accp.service;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.accp.pojo.Room;




public interface RoomService {

	
	//根据id删除房间信息
    int deleteByPrimaryKey(Integer roomid);

    
    
    //添加房间
    int insert(Room record);

    
    
    //批量添加
    int insertSelective(Room record);

    
    
    //根据id查询房间
    Room selectByPrimaryKey(Integer roomid);

    
    
    //批量修改房间信息
    int updateByPrimaryKeySelective(Room record);

    
    
    //修改房间信息
    int updateByPrimaryKey(Room record);
    
    //查询全部房间信息
    List<Room> getAllRoom();
	
  //根据房间状态查询房间
    List<Room> getByState(Integer roomState);
	
}
